-
Notifications
You must be signed in to change notification settings - Fork 308
feat(satp): add support for NFTs #3965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(satp): add support for NFTs #3965
Conversation
2ba814c to
52ac5ad
Compare
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Outdated
Show resolved
Hide resolved
LordKubaya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look at the comments.
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Outdated
Show resolved
Hide resolved
...s-plugin-satp-hermes/src/main/typescript/core/stage-services/client/stage0-client-service.ts
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/main/typescript/core/stage-services/service-utils.ts
Outdated
Show resolved
Hide resolved
...us-plugin-satp-hermes/src/main/typescript/cross-chain-mechanisms/bridge/leafs/fabric-leaf.ts
Outdated
Show resolved
Hide resolved
...us-plugin-satp-hermes/src/main/typescript/cross-chain-mechanisms/bridge/leafs/fabric-leaf.ts
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/test/solidity/tests/SATPNFTokenContractTest.sol
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/test/solidity/tests/SATPWrapperTestFungible.sol
Outdated
Show resolved
Hide resolved
...ages/cactus-plugin-satp-hermes/src/test/typescript/environments/ethereum-test-environment.ts
Outdated
Show resolved
Hide resolved
...gin-satp-hermes/src/test/typescript/integration/gateway/satp-e2e-transfer-2-gateways.test.ts
Outdated
Show resolved
Hide resolved
...-plugin-satp-hermes/src/test/typescript/integration/oracle/oracle-execute-api-server.test.ts
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Outdated
Show resolved
Hide resolved
RafaelAPB
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution. Overall, this is an impressive contribution. Code is clean, tests are detailed and address the implemented functionality. Please do add documentation on your added feature - namely the "assetAttribute". It is understandable that this parameter is a generalization of the old "amount", but the different supported values should be well-documented.
Prior to merge, please address my and Carlo's comments - we can use the PR threads to discuss.
Great work!
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/main/solidity/contracts/SATPWrapperContract.sol
Outdated
Show resolved
Hide resolved
...s-plugin-satp-hermes/src/main/typescript/core/stage-services/client/stage0-client-service.ts
Outdated
Show resolved
Hide resolved
...us-plugin-satp-hermes/src/main/typescript/cross-chain-mechanisms/bridge/leafs/fabric-leaf.ts
Show resolved
Hide resolved
...lugin-satp-hermes/src/main/typescript/cross-chain-mechanisms/bridge/ontology/assets/asset.ts
Show resolved
Hide resolved
...n-satp-hermes/src/main/typescript/cross-chain-mechanisms/bridge/ontology/assets/evm-asset.ts
Show resolved
Hide resolved
.../main/typescript/cross-chain-mechanisms/bridge/satp-bridge-execution-layer-implementation.ts
Show resolved
Hide resolved
packages/cactus-plugin-satp-hermes/src/test/solidity/contracts/SATPNFTokenContract.sol
Outdated
Show resolved
Hide resolved
4cacbaf to
44f3bb4
Compare
c548d20 to
a03c7b0
Compare
6617318 to
83f9482
Compare
1cb5caf to
392aa6e
Compare
f14db8d to
45e1e33
Compare
9bee4bd to
1ae6a34
Compare
242fcd7 to
d5beace
Compare
d5beace to
98d913a
Compare
98d913a to
9b04d5e
Compare
a5f30e1 to
8bcb1cb
Compare
8bcb1cb to
76d7408
Compare
|
The yarn lint job is failling |
4451e47 to
e73fa43
Compare
Head branch was pushed to by a user without write access
e73fa43 to
88e5d1b
Compare
Signed-off-by: Tomás Silva <[email protected]>
88e5d1b to
ab61f82
Compare
feat(satp): add support for NFTs
Implements support for cross-chain transfers of NFTs with Ethereum and Besu Leafs.
CLOSES #3869
Pull Request Requirements
upstream/mainbranch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.-sflag when usinggit commitcommand. You may refer to this link for more information.Character Limit
A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.